package com.hw.daobean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Transient;

@Entity(
        indexes = {
                @Index(value = "iid", unique = true)
        }
)
public class ProductInfo {
    @Id(autoincrement = true)
    private Long id;
    private String iid;
    private String code;
    private String name;
    private String caseBoxNums;
    private String OtherCode;
    @Transient
    private boolean flag = false;


@Generated(hash = 346802631)
public ProductInfo(Long id, String iid, String code, String name,
        String caseBoxNums, String OtherCode) {
    this.id = id;
    this.iid = iid;
    this.code = code;
    this.name = name;
    this.caseBoxNums = caseBoxNums;
    this.OtherCode = OtherCode;
}

@Generated(hash = 49329718)
public ProductInfo() {
}
    

    public boolean isFlag() {
        return this.flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

public Long getId() {
    return this.id;
}

public void setId(Long id) {
    this.id = id;
}

public String getIid() {
    return this.iid;
}

public void setIid(String iid) {
    this.iid = iid;
}

public String getCode() {
    return this.code;
}

public void setCode(String code) {
    this.code = code;
}

public String getName() {
    return this.name;
}

public void setName(String name) {
    this.name = name;
}

public String getCaseBoxNums() {
    return this.caseBoxNums;
}

public void setCaseBoxNums(String caseBoxNums) {
    this.caseBoxNums = caseBoxNums;
}

public String getOtherCode() {
    return this.OtherCode;
}

public void setOtherCode(String OtherCode) {
    this.OtherCode = OtherCode;
}
}


